import request from '@/utils/request'
export const registerApi = (obj) => {
  return request({
    url: '/user/register',
    method: 'post',
    data: obj
  })
}

export const loginApi = (obj) => {
  return request.post('/user/login', obj)
}
